package com.bluemsun.naturallanguageprocessing.dao;

import com.bluemsun.naturallanguageprocessing.entity.Feedback;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Set;

/**
 * @author :hucl
 * @describe :用户反馈
 */
@Repository
public interface FeedbackMapper {
    //存储用户反馈
    int addFeedback(Feedback feedback);
    //获取反馈
    List<Feedback> getFeedback(int userId);
    //管理员删除反馈
    int deleteFeedback(@Param("ids") List<Integer> ids);

}
